import { createRouter, createWebHistory } from 'vue-router'



const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path:'/',
      name:'index',
      component: ()=>import('../components/indexPage.vue')
    },
    {
      path:'/hello',
      name:'hello',
      component: ()=>import('../components/HelloWorld.vue')
    },
    {
      path:'/canvas',
      name:'canvas',
      component: ()=>import('../components/canvasList/canvas.vue')
    }
  ]
})
export default router